package com.nmf.site.biz.paygoods.genx.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import com.nmf.site.biz.paygoods.gen.entity.BizPayOrder;
import com.nmf.site.common.persistence.annotation.MyBatisDao;

@MyBatisDao
public interface GxPayGoodsDao {
	@Select({ "<script>", "select * from biz_pay_order where del_flag=0", "</script>" })
	public List<BizPayOrder> queryPayGoods();
	@Select({ "<script>", "select * from biz_pay_order where id=#{payGoodsId} and del_flag=0", "</script>" })
	public BizPayOrder queryByGoodId(@Param("payGoodsId")String payGoodsId);
}	
